package fr.pascal.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.ResultPath;

import com.opensymphony.xwork2.ActionSupport;

@Namespace("/User")
@ResultPath(value = "/")
public class LoginAction extends ActionSupport {

	private static final long serialVersionUID = 8366637104362902448L;

	@Action(value = "Login", results = { @Result(name = "success", location = "pages/login.jsp") })
	public String execute() {
		return SUCCESS;
	}
}
